<!--  -->
<template>
  <div>
    <h2>我是about，呵呵</h2>
    <p>我是内容，呵呵</p>
  </div>
</template>

<script>
export default {
  name: "About",
  data() {
    return {};
  },
};

// 引入 axios
import axios from "axios";
axios.defaults.baseURL="http://httpbin.org/get"  // 用 defaults 后边跟的就是 全局配置
axios.defaults.timeout=5000
axios
  .all([
    axios({
      url: "",
    }),
    axios({
      url: "",
    }),
  ])
  .then((results) => {
    console.log(results[0]);
    console.log(results[1]);
  });
</script>
<style  scoped>
</style>
